package sctu.edu.java.year2016.team04.baiyunfei.day20160622.chapter11_1;

import java.util.Scanner;

/**
 * Created by DE on 2016/6/22.
 */
public class Client {
    public static void main(String[] args) throws MyException {
        Student student=new Student();
        System.out.println("请输入一个数字：");
        Scanner scanner=new Scanner(System.in);
         try{

             int m= scanner.nextInt();
             student.speak(m);

         }catch(MyException e){
             System.out.println(e);
         }
    }
}
